/**
 * @description 生成左边个数，右边个数
 */

const minLeft = 3
const maxLeft = 40
const minRight = 1
const maxRight = 4

function createNum() {
  let left = getRandomInt(minLeft, maxLeft)
  let right = getRandomInt(minRight, maxRight)

  return [left, right]
}


function getRandomInt(min, max) {
  return Math.floor(Math.random() * (max - min + 1)) + min;
}
export default createNum